<%@ include file="/taglibs.jsp"%>

<head>
	<title><fmt:message key="fileList.title"/></title>
	<script type="text/javascript" src="${ctx}/scripts/checkbox.js"></script>
</head>

<s:set name="userGroupWfs" value="userGroupWfs" scope="request"/>
<s:form name="assignUserForm" action="assign_user" method="post" validate="true">
<s:hidden name="processId" value="%{processId}"/>

<display:table name="userGroupWfs" class="table" requestURI="" id="userGroupWfsList"  pagesize="10">
	<display:column>
		<input type="checkbox" name="userIds" class="checkbox" value="${userGroupWfsList[0].id}" <c:if test="${userGroupWfsList[1].id >0}">checked</c:if>  >
	</display:column>	
	
    <display:column property="[0].username" sortable="true" titleKey="user.username" escapeXml="true">
    </display:column>
    <display:column property="[0].firstName" sortable="true" titleKey="user.firstName" escapeXml="true">
    </display:column>
    <display:column property="[0].lastName" sortable="true" titleKey="user.lastName" escapeXml="true">
    </display:column>    
</display:table>

<tr>
    <td colspan="2">
		<s:submit cssClass="button" name="save" value="%{getText('button.save.title')}" theme="simple" onclick="form.onsubmit=null"></s:submit>
		<s:submit cssClass="button" name="cancel" value="%{getText('button.cancel.title')}" theme="simple" onclick="form.onsubmit=null"></s:submit>		
    </td>
</tr>

</s:form>
